package com.example.ymm.modules1.mapper.hl;

import com.example.ymm.base.CoreMapper;
import com.example.ymm.modules1.entity.hl.dkn.DknProductMapping;
import com.example.ymm.modules1.entity.hl.yw.YwAccountOutoRate;
import com.example.ymm.modules1.service.dto.heng.DknProductMappingDto;
import com.example.ymm.modules1.service.dto.ms.MsOrderDto;
import com.example.ymm.modules1.service.dto.ms.MsOrderListQueryCriteria;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface DknProductMappingMapper extends CoreMapper<DknProductMapping> {


    /**
     * 采购单列表 -有映射
     * @param criteria
     * @return
     */
    List<DknProductMappingDto> purchaseOrderList(MsOrderListQueryCriteria criteria);


    String purchaseOrderListMaxTime(MsOrderListQueryCriteria criteria);

    /**
     * 采购单列表 -无映射
     * @param criteria
     * @return
     */
    List<DknProductMappingDto> purchaseOrderNoMappingList(MsOrderListQueryCriteria criteria);



}